package com.wlsk.license.service.feign;

import com.wlsk.license.common.constant.FeignServiceConstant;
import com.ykx.userCenter.provider.result.EnterpriseInfoResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @description: 管理用户
 * @author: liuzhangbin
 * @date: 2025/2/24
 */
@Component
@FeignClient(name = FeignServiceConstant.PLAT_ADAPTER, contextId = "userCenterClient")
public interface UserCenterClient {

    @PostMapping("/userCenter/queryEnterpriseInfoByCreditCode")
    EnterpriseInfoResult queryEnterpriseInfoByCreditCode(@RequestBody String creditCode);
}


